﻿using System;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.Entities
{

	/// <summary>
	/// Represents a product review for a single product by a single customer on a single 
	/// attribute.
	/// </summary>
	/// <remarks>
	/// <para>
	/// Products can be reviewed both overall (&quot;In general, ...&quot;) and on individual 
	/// attributes (&quot;What's good&quot;, &quot;What's bad&quot;, etc).
	/// </para>
	/// </remarks>
	public class ProductReviewAttributeValue
	{

		#region Properties

		/// <summary>
		/// Gets or sets the product feedback identifier of the product feedback that the review is
		/// a part of.
		/// </summary>
		/// <value>A product feedback identifier <see cref="Guid"/>.</value>
		public Guid FeedbackId { get; set; }

		/// <summary>
		/// Gets or sets the attribute identifier.
		/// </summary>
		/// <value>An attribute identifier <see cref="Guid"/>.</value>
		public Guid AttributeId { get; set; }

		/// <summary>
		/// Gets or sets the value of the attribute.
		/// </summary>
		public string Value { get; set; }

		#endregion // Properties

	}

}
